package com.renli.mapper;

import com.renli.pojo.Train;
import com.renli.pojo.TrainFeedback;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: zdk
 * Date: 2020/09/02 14:53
 * Description:
 * Version: V1.0
 */
public interface Train_PlanMapper {
    /**新增
     * @param train
     * @return
     */
    Integer add_plan(Train train);


    /**查询数据
     * @param
     * @return
     */

    List<Train> query(@Param("name") String name,@Param("means") String means, @Param("startTime")String startTime);

     List<String> role_name(String name);


    Train query_reunite (String name);
    int update_reunite(String name);

    int insertFk(TrainFeedback trainFeedback);

    Train query_feedback(String name);

    Integer del_trin(String name);

    int update_trin(Train train);

}
